<?php

declare(strict_types=1);

namespace App\Model\Admin;



use App\Model\Model;

/**
 * @property int $id 主键
 * @property int $role_id 角色id
 * @property int $admin_id 管理员id
 */
class AdminRole extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'admin_roles';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'role_id', 'admin_id'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'role_id' => 'integer', 'admin_id' => 'integer'];
}
